﻿using System;

namespace XC.DataAccess.EncoderDecoder
{
    /// <summary>
    /// 解码器
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class DecoderAttribute: Attribute
    {

        /// <summary>
        /// 偏移量
        /// </summary>
        public int Offset { get; set; }
        /// <summary>
        /// 类型转换器
        /// </summary>
        public Type? TypeConverter { get; set; }
    }

}
